projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5ea695
)
Fixed error
author
Kalita Alexey
<kalita.alexey@outlook.com>
Wed, 25 Jan 2017 06:52:59 +0000
(09:52 +0300)
committer
Kalita Alexey
<kalita.alexey@outlook.com>
Wed, 25 Jan 2017 06:52:59 +0000
(09:52 +0300)
src/doc/manifest.md
patch
|
blob
|
history
diff --git
a/src/doc/manifest.md
b/src/doc/manifest.md
index b6bbb328e7e2c7665cee4099582394850fd7ca4f..0b3eff6fa84ca78fd3eac1ba302ddcd6d0569497 100644
(file)
--- a/
src/doc/manifest.md
+++ b/
src/doc/manifest.md
@@
-459,10
+459,13
@@
You can run individual executable examples with the command `cargo run --example
Specify `crate-type` to make an example be compiled as a library:
```toml
-[[example.foo]]
+[[example]]
+name = "foo"
crate-type = ["staticlib"]
```
+You can build individual library examples with the command `cargo build --example <example-name>`.
+
# Tests
When you run `cargo test`, Cargo will: